Func - YumModule
2011/07/15 |
Basic usage of YumModule.
|
|
[1] | Run 'yum update' on all minions. ( It's hadr to read them because "\n" is shown, replace it with sed 's/\\n/\n/g'. |
[root@certmaster ~]# func "*" call yumcmd update ('minion02', 'command: update \nkernel.x86_64 0:2.6.32-71.24.1.el6 - i\nselinux-policy.noarch 0:3.7.19-54.el6_0.5 - u\npolicycoreutils.x86_64 0:2.0.83-19.8.el6_0 - u\nkrb5-libs.x86_64 0:1.8.2-3.el6_0.7 - u\nglibc-common.x86_64 0:2.12-1.7.el6_0.5 - u\nselinux-policy-targeted.noarch 0:3.7.19-54.el6_0.5 - u\nglibc.x86_64 0:2.12-1.7.el6_0.5 - u\nlogrotate.x86_64 0:3.7.8-12.el6_0.1 - u\npostfix.x86_64 2:2.6.6-2.1.el6_0 - u\ntzdata.noarch 0:2011d-3.el6 - u\nkernel-firmware.noarch 0:2.6.32-71.24.1.el6 - u\ndhclient.x86_64 12:4.1.1-12.P1.el6_0.4 - u\n') ('minion01', 'command: update \nselinux-policy.noarch 0:3.7.19-54.el6_0.5 - u\npolicycoreutils.x86_64 0:2.0.83-19.8.el6_0 - u\nkrb5-libs.x86_64 0:1.8.2-3.el6_0.7 - u\nnss.x86_64 0:3.12.8-3.el6_0.0.sl6 - u\nglibc-common.x86_64 0:2.12-1.7.el6_0.5 - u\nselinux-policy-targeted.noarch 0:3.7.19-54.el6_0.5 - u\nglibc.x86_64 0:2.12-1.7.el6_0.5 - u\nnss-sysinit.x86_64 0:3.12.8-3.el6_0.0.sl6 - u\nlogrotate.x86_64 0:3.7.8-12.el6_0.1 - u\ntzdata.noarch 0:2011g-1.el6 - u\npostfix.x86_64 2:2.6.6-2.1.el6_0 - u\ndhclient.x86_64 12:4.1.1-12.P1.el6_0.4 - u\nkernel.x86_64 0:2.6.32-71.29.1.el6 - i\nkernel-firmware.noarch 0:2.6.32-71.29.1.el6 - u\n') |